package com.wu.staticdemo1;

import javax.sound.midi.Soundbank;

public class Student {
    //类变量
    static String name;
    double score;
    int age;

    public static void printYes(){
        System.out.println("yes");
    }
    //实例方法
    public void printPass(){
        System.out.println("成绩"+(score>=60?"合格":"不合格"));
    }
}
